package tech.com.commoncore.basecomponent.service;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;

/**
 * Anthor:NiceWind
 * Time:2019/3/22
 * Desc:The ladder is real, only the climb is all.
 * fragment的入口
 */
public interface ITaskService {
    Fragment newEntryFragment(Bundle bundle);

    /**
     *
     * @param context
     * @param position 0 :签到  1动态     2:点赞   3:评论    4:分享
     */
    void setTask(Context context, int position);
    int getBodyTask(Context context);
    int getComputTask(Context context);
}
